package info.xingxingdd.admin.controller;

import info.xingxingdd.admin.common.Result;
import info.xingxingdd.admin.service.ClientAppCategoryService;
import info.xingxingdd.admin.service.ClientAppInfoService;
import info.xingxingdd.admin.service.ClientUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试控制器
 */
@RestController
@RequestMapping("/api/test")
public class TestController {
    
    @Autowired
    private ClientAppCategoryService clientAppCategoryService;
    
    @Autowired
    private ClientAppInfoService clientAppInfoService;
    
    @Autowired
    private ClientUserService clientUserService;
    
    /**
     * 测试服务是否正常工作
     */
    @GetMapping
    public Result<String> test() {
        return Result.success("服务正常工作");
    }
} 